From 0317e15cfce68d56e50a6360b084b1193330c2b3 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Thu, 21 Dec 2006 17:38:02 +0000 Subject: [PATCH] More error codes. Signed-off-by: Ewan Mellor --- docs/xen-api/xenapi-datamodel.tex | 146 +++++++++++++++++++++++++++++- 1 file changed, 142 insertions(+), 4 deletions(-) diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex index 7c03759237..4e596cb458 100644 --- a/docs/xen-api/xenapi-datamodel.tex +++ b/docs/xen-api/xenapi-datamodel.tex @@ -10494,6 +10494,68 @@ Each possible error code is documented in the following section. \subsection{Error Codes} \vspace{0.9cm} +\subsubsection{HOST\_CPU\_HANDLE\_INVALID} + +You gave an invalid host\_cpu handle. The host\_cpu may have recently been +deleted. The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}HOST_CPU_HANDLE_INVALID(handle)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{HOST\_HANDLE\_INVALID} + +You gave an invalid host handle. The host may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}HOST_HANDLE_INVALID(handle)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{INTERNAL\_ERROR} + +The server failed to handle your request, due to an internal error. The +given message may give details useful for debugging the problem. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}INTERNAL_ERROR(message)\end{verbatim} + + +\subsubsection{HOST\_CPU\_HANDLE\_INVALID} + +You gave an invalid host\_cpu handle. The host\_cpu may have recently been +deleted. The handle parameter echoes the bad value given. + +\vspace{0.3cm} +{\bf Signature:} +\begin{verbatim}HOST_CPU_HANDLE_INVALID(handle)\end{verbatim} +\begin{center}\rule{10em}{0.1pt}\end{center} + +\subsubsection{HOST\_HANDLE\_INVALID} + +You gave an invalid host handle. The host may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +{\bf Signature:} +\begin{verbatim}HOST_HANDLE_INVALID(handle)\end{verbatim} +\begin{center}\rule{10em}{0.1pt}\end{center} + +\subsubsection{INTERNAL\_ERROR} + +The server failed to handle your request, due to an internal error. The +given message may give details useful for debugging the problem. + +\vspace{0.3cm} +{\bf Signature:} +\begin{verbatim}INTERNAL_ERROR(message)\end{verbatim} +\begin{center}\rule{10em}{0.1pt}\end{center} + \subsubsection{MAP\_DUPLICATE\_KEY} You tried to add a key-value pair to a map, but that key is already there. @@ -10506,15 +10568,36 @@ echoed. \vspace{0.9cm} -\subsubsection{INTERNAL\_ERROR} +\subsubsection{MESSAGE\_METHOD\_UNKNOWN} -The server failed to handle your request, due to an internal error. The -given message may give details useful for debugging the problem. +You tried to call a method that does not exist. The method name that you +used is echoed. \vspace{0.3cm} \noindent{\bf Signature:} -\begin{verbatim}INTERNAL_ERROR(message)\end{verbatim} +\begin{verbatim}MESSAGE_METHOD_UNKNOWN(method)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{MESSAGE\_PARAMETER\_COUNT\_MISMATCH} + +You tried to call a method with the incorrect number of parameters. The +fully-qualified method name that you used, and the number of received and +expected parameters are returned. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}MESSAGE_PARAMETER_COUNT_MISMATCH(method, expected, received)\end{verbatim} + +\vspace{0.9cm} +\subsubsection{SESSION\_AUTHENTICATION\_FAILED} + +The credentials given by the user are incorrect, so access has been denied, +and you have not been issued a session handle. + +\vspace{0.3cm} +No parameters. \vspace{0.9cm} \subsubsection{SESSION\_INVALID} @@ -10529,6 +10612,50 @@ current connection. The handle parameter echoes the bad value given. \begin{verbatim}SESSION_INVALID(handle)\end{verbatim} +\vspace{0.9cm} +\subsubsection{SR\_HANDLE\_INVALID} + +You gave an invalid SR handle. The SR may have recently been deleted. The +handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}SR_HANDLE_INVALID(handle)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{VBD\_HANDLE\_INVALID} + +You gave an invalid VBD handle. The VBD may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}VBD_HANDLE_INVALID(handle)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{VDI\_HANDLE\_INVALID} + +You gave an invalid VDI handle. The VDI may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}VDI_HANDLE_INVALID(handle)\end{verbatim} + + +\vspace{0.9cm} +\subsubsection{VIF\_HANDLE\_INVALID} + +You gave an invalid VIF handle. The VIF may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}VIF_HANDLE_INVALID(handle)\end{verbatim} + + \vspace{0.9cm} \subsubsection{VM\_HANDLE\_INVALID} @@ -10539,6 +10666,17 @@ handle parameter echoes the bad value given. \noindent{\bf Signature:} \begin{verbatim}VM_HANDLE_INVALID(handle)\end{verbatim} + +\vspace{0.9cm} +\subsubsection{VTPM\_HANDLE\_INVALID} + +You gave an invalid VTPM handle. The VTPM may have recently been deleted. +The handle parameter echoes the bad value given. + +\vspace{0.3cm} +\noindent{\bf Signature:} +\begin{verbatim}VTPM_HANDLE_INVALID(handle)\end{verbatim} + \newpage \section{DTD} General notes: -- 2.30.2